package net.maku.custom.biza.controller.customers.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import lombok.Data;
import net.maku.custom.biza.controller.followup.vo.FollowUpDetailsVO;
import net.maku.framework.common.utils.DateUtils;

import javax.validation.constraints.NotNull;

/**
* 客户信息
*
* @author NULL
* @since 1.0.0 2022-07-11
*/
@Data
@Schema(description = "客户信息")
public class CustomerInfoVO implements Serializable {
	private static final long serialVersionUID = 1L;

	@NotNull
	private Long id;

	@Schema(description = "客户名称")
	private String name;

	@Schema(description = "电话号码")
	private String mobile;

	@Schema(description = "市场")
	private String market;

	@Schema(description = "生意")
	private String business;

	@Schema(description = "销售员id")
	private Long salesId;

    @Schema(description = "销售员名称")
    private String salesName;

	@Schema(description = "客服员id")
	private Long csId;

    @Schema(description = "客服员名称")
    private String csName;

	@Schema(description = "店铺号码")
	private String shopNo;

	@Schema(description = "创建者")
	private Long creator;

	@Schema(description = "创建时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date createTime;

	@Schema(description = "更新者")
	private Long updater;

	@Schema(description = "更新时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date updateTime;

    @Schema(description = "跟进信息")
	private List<FollowUpDetailsVO> followUpDetailsVOList;


}